package com.huc.event;

import com.huc.entity.Order;
import org.springframework.context.ApplicationEvent;

/**
 * @auther huc
 * @date 2020/8/24 0024 AM 9:43
 */
public class OrderEvent extends ApplicationEvent {
    private Order order;

    public OrderEvent(Object source,Order order) {
        super(source);
        this.order=order;
    }

    public  Order getOrder() {
        return order;
    }
}
